package com.xtkj.superclub_entity.entity.tourpal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/**
 * 项目名称：superclub
 * 类 名 称：Team
 * 类 描 述：TODO 队伍
 * 创建时间：2019/12/25 21:53
 * 创 建 人：Xiezhiyan
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString
@TableName(value = "c_team")
public class Team implements Serializable {

    @TableId(value = "team_id",type = IdType.INPUT)
    private String teamId;//队伍编号id
    private String teamLogo;//队伍图标
    private String teamName;//队伍名称
    private String teamLocation;//队伍所在地
    private String mainProject;//主打项目
    private String teamDeclaration;//队伍宣言
    private String teamSynopsis;//队伍简介
    private String userId;//负责人id
    private String teamAlbumId;//队伍相册id
    private String teamTravelsId;//队伍游记id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdtm;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updatedtm;//修改时间

}
